package com.supcalls.thread_pool.thread;
public class MyThread1 extends Thread {
    public MyThread1() {

    }
    @Override
    public void run() {
        for(int i=0;i<10;i++) {
            System.out.println(Thread.currentThread()+":"+i);
        }
    }
    public static void main(String[] args) {
        MyThread1 mThread1=new MyThread1();
        MyThread1 mThread2=new MyThread1();
        MyThread1 myThread3=new MyThread1();
        mThread1.start();
        mThread2.start();
        myThread3.start();
    }
}